# $NetBSD: Makefile,v 1.5 2012/10/01 21:52:41 asau Exp $

DISTNAME=	koha-2.2.9
PKGREVISION=	2
CATEGORIES=	databases
MASTER_SITES=	http://download.savannah.nongnu.org/releases/koha/

MAINTAINER=	phil@cs.wwu.edu
HOMEPAGE=	http://koha.org/
COMMENT=	Koha is an integrated library system
LICENSE=	gnu-gpl-v2

DEPENDS+=	mysql-client>=5.5:../../databases/mysql55-client
DEPENDS+=	apache>=2.4:../../www/apache24
DEPENDS+=	p5-Date-Calc>=5.4:../../devel/p5-Date-Calc
DEPENDS+=	p5-Date-Manip>=5.44:../../devel/p5-Date-Manip
DEPENDS+=	p5-DBD-mysql>=3.0002:../../databases/p5-DBD-mysql
DEPENDS+=	p5-DBI>=1.56:../../databases/p5-DBI
DEPENDS+=	p5-Event>=1.06:../../devel/p5-Event
DEPENDS+=	p5-HTML-Template>=2.9:../../www/p5-HTML-Template
DEPENDS+=	p5-Mail-Sendmail>=0.79:../../mail/p5-Mail-Sendmail
DEPENDS+=	p5-PDF-API2>=0.65:../../textproc/p5-PDF-API2
DEPENDS+=	p5-XML-Simple>=2.18:../../textproc/p5-XML-Simple
DEPENDS+=	p5-libwww>=5.808:../../www/p5-libwww
DEPENDS+=	p5-Data-Random>=0.05:../../devel/p5-Data-Random
DEPENDS+=	p5-GD-Barcode>=1.15:../../graphics/p5-GD-Barcode
DEPENDS+=	p5-MARC-Record>=2.0.0:../../databases/p5-MARC-Record
DEPENDS+=	p5-MARC-XML>=0.87:../../databases/p5-MARC-XML
DEPENDS+=	p5-MARC-Charset>=0.98:../../converters/p5-MARC-Charset
DEPENDS+=	p5-Net-Z3950-ZOOM>=1.20:../../net/p5-Net-Z3950-ZOOM
DEPENDS+=	p5-PDF-Reuse-Barcode>=0.05:../../textproc/p5-PDF-Reuse-Barcode

USE_TOOLS+=	perl:run

REPLACE_PERL+=	modules/C4/Date.pm
REPLACE_PERL+=	modules/C4/test.pl
REPLACE_PERL+=	opac-cgi/opac-moredetail.pl
REPLACE_PERL+=	opac-cgi/opac-logout.pl
REPLACE_PERL+=	opac-cgi/opac-user.pl
REPLACE_PERL+=	opac-cgi/opac-account.pl
REPLACE_PERL+=	opac-cgi/changelanguage.pl
REPLACE_PERL+=	opac-cgi/opac-renew.pl
REPLACE_PERL+=	opac-cgi/opac-authoritiesdetail.pl
REPLACE_PERL+=	opac-cgi/opac-authorities-home.pl
REPLACE_PERL+=	opac-cgi/opac-suggestions.pl
REPLACE_PERL+=	opac-cgi/opac-basket.pl
REPLACE_PERL+=	opac-cgi/search.pl
REPLACE_PERL+=	opac-cgi/opac-userupdate.pl
REPLACE_PERL+=	opac-cgi/opac-sidebar.pl
REPLACE_PERL+=	opac-cgi/opac-ISBDdetail.pl
REPLACE_PERL+=	opac-cgi/subjectsearch.pl
REPLACE_PERL+=	opac-cgi/opac-searchresults.pl
REPLACE_PERL+=	opac-cgi/opac-sendbasket.pl
REPLACE_PERL+=	opac-cgi/logout.pl
REPLACE_PERL+=	opac-cgi/opac-detailprint.pl
REPLACE_PERL+=	opac-cgi/opac-main.pl
REPLACE_PERL+=	opac-cgi/opac-MARCdetail.pl
REPLACE_PERL+=	opac-cgi/opac-reserve.pl
REPLACE_PERL+=	opac-cgi/opac-passwd.pl
REPLACE_PERL+=	opac-cgi/opac-shelves.pl
REPLACE_PERL+=	opac-cgi/detail.pl
REPLACE_PERL+=	opac-cgi/opac-addbookbybiblionumber.pl
REPLACE_PERL+=	opac-cgi/opac-dictionary.pl
REPLACE_PERL+=	opac-cgi/opac-search.pl
REPLACE_PERL+=	opac-cgi/opac-detail.pl
REPLACE_PERL+=	opac-cgi/opac-recacquisitions.pl
REPLACE_PERL+=	opac-cgi/opac-readingrecord.pl
REPLACE_PERL+=	opac-cgi/moredetail.pl
REPLACE_PERL+=	opac-cgi/opac-serial-issues.pl
REPLACE_PERL+=	opac-cgi/opac-userdetails.pl
REPLACE_PERL+=	koha.upgrade
REPLACE_PERL+=	intranet-cgi/rss/rss.pl
REPLACE_PERL+=	intranet-cgi/pay.pl
REPLACE_PERL+=	intranet-cgi/bull/statecollection.pl
REPLACE_PERL+=	intranet-cgi/bull/lateissues.pl
REPLACE_PERL+=	intranet-cgi/bull/subscription-add.pl
REPLACE_PERL+=	intranet-cgi/bull/receipt.pl
REPLACE_PERL+=	intranet-cgi/bull/subscription-bib-search.pl
REPLACE_PERL+=	intranet-cgi/bull/subscription-renew.pl
REPLACE_PERL+=	intranet-cgi/bull/subscription-detail.pl
REPLACE_PERL+=	intranet-cgi/bull/acqui-search.pl
REPLACE_PERL+=	intranet-cgi/bull/serial-issues.pl
REPLACE_PERL+=	intranet-cgi/bull/order.pl
REPLACE_PERL+=	intranet-cgi/help.pl
REPLACE_PERL+=	intranet-cgi/deletewebsite.pl
REPLACE_PERL+=	intranet-cgi/moditem.pl
REPLACE_PERL+=	intranet-cgi/authorities/blinddetail-biblio-search.pl
REPLACE_PERL+=	intranet-cgi/authorities/auth_finder.pl
REPLACE_PERL+=	intranet-cgi/authorities/authorities.pl
REPLACE_PERL+=	intranet-cgi/authorities/authorities-home.pl
REPLACE_PERL+=	intranet-cgi/authorities/detail-biblio-search.pl
REPLACE_PERL+=	intranet-cgi/authorities/detail.pl
REPLACE_PERL+=	intranet-cgi/import/picture-upload.pl
REPLACE_PERL+=	intranet-cgi/import/breeding.pl
REPLACE_PERL+=	intranet-cgi/catalogue-home.pl
REPLACE_PERL+=	intranet-cgi/modwebsites.pl
REPLACE_PERL+=	intranet-cgi/detailprint.pl
REPLACE_PERL+=	intranet-cgi/changelanguage.pl
REPLACE_PERL+=	intranet-cgi/request.pl
REPLACE_PERL+=	intranet-cgi/readingrec.pl
REPLACE_PERL+=	intranet-cgi/renewscript.pl
REPLACE_PERL+=	intranet-cgi/about.pl
REPLACE_PERL+=	intranet-cgi/MARCdetail.pl
REPLACE_PERL+=	intranet-cgi/search.pl
REPLACE_PERL+=	intranet-cgi/reservereport.pl
REPLACE_PERL+=	intranet-cgi/updatebiblio.pl
REPLACE_PERL+=	intranet-cgi/groups.pl
REPLACE_PERL+=	intranet-cgi/admin/auth_tag_structure.pl
REPLACE_PERL+=	intranet-cgi/admin/marc_subfields_structure.pl
REPLACE_PERL+=	intranet-cgi/admin/checkmarc.pl
REPLACE_PERL+=	intranet-cgi/admin/auth_subfields_structure.pl
REPLACE_PERL+=	intranet-cgi/admin/itemtypes.pl
REPLACE_PERL+=	intranet-cgi/admin/z3950servers.pl
REPLACE_PERL+=	intranet-cgi/admin/authtypes.pl
REPLACE_PERL+=	intranet-cgi/admin/biblio_framework.pl
REPLACE_PERL+=	intranet-cgi/admin/categoryitem.pl
REPLACE_PERL+=	intranet-cgi/admin/categorie.pl
REPLACE_PERL+=	intranet-cgi/admin/koha2marclinks.pl
REPLACE_PERL+=	intranet-cgi/admin/thesaurus.pl
REPLACE_PERL+=	intranet-cgi/admin/stopwords.pl
REPLACE_PERL+=	intranet-cgi/admin/marctagstructure.pl
REPLACE_PERL+=	intranet-cgi/admin/aqbookfund.pl
REPLACE_PERL+=	intranet-cgi/admin/printers.pl
REPLACE_PERL+=	intranet-cgi/admin/currency.pl
REPLACE_PERL+=	intranet-cgi/admin/aqbudget.pl
REPLACE_PERL+=	intranet-cgi/admin/issuingrules.pl
REPLACE_PERL+=	intranet-cgi/admin/branches.pl
REPLACE_PERL+=	intranet-cgi/admin/authorised_values.pl
REPLACE_PERL+=	intranet-cgi/admin/systempreferences.pl
REPLACE_PERL+=	intranet-cgi/barcodes/label-print-opus-pdf.pl
REPLACE_PERL+=	intranet-cgi/barcodes/label-print.pl
REPLACE_PERL+=	intranet-cgi/barcodes/pdfViewer.pl
REPLACE_PERL+=	intranet-cgi/barcodes/printerConfig.pl
REPLACE_PERL+=	intranet-cgi/barcodes/test.textblock.pl
REPLACE_PERL+=	intranet-cgi/barcodes/barcodes.pl
REPLACE_PERL+=	intranet-cgi/barcodes/label-home.pl
REPLACE_PERL+=	intranet-cgi/barcodes/label-manager.pl
REPLACE_PERL+=	intranet-cgi/barcodes/label-print-pdf.pl
REPLACE_PERL+=	intranet-cgi/barcodes/barcodesGenerator.pl
REPLACE_PERL+=	intranet-cgi/barcodes/label-item-search.pl
REPLACE_PERL+=	intranet-cgi/sec/writeoff.pl
REPLACE_PERL+=	intranet-cgi/modrequest.pl
REPLACE_PERL+=	intranet-cgi/label-home.pl
REPLACE_PERL+=	intranet-cgi/reports/borrowers_stats.plugin
REPLACE_PERL+=	intranet-cgi/reports/catalogue_out.pl
REPLACE_PERL+=	intranet-cgi/reports/bor_issues_top.pl
REPLACE_PERL+=	intranet-cgi/reports/manager.pl
REPLACE_PERL+=	intranet-cgi/reports/acquisitions_stats.pl
REPLACE_PERL+=	intranet-cgi/reports/cat_issues_top.pl
REPLACE_PERL+=	intranet-cgi/reports/reservereport.pl
REPLACE_PERL+=	intranet-cgi/reports/issues_avg_stats.pl
REPLACE_PERL+=	intranet-cgi/reports/itemtypes.plugin
REPLACE_PERL+=	intranet-cgi/reports/catalogue_stats.pl
REPLACE_PERL+=	intranet-cgi/reports/inventory.pl
REPLACE_PERL+=	intranet-cgi/reports/borrowers_stats.pl
REPLACE_PERL+=	intranet-cgi/reports/borrowers_out.pl
REPLACE_PERL+=	intranet-cgi/reports/issues_stats.pl
REPLACE_PERL+=	intranet-cgi/reports/reports-home.pl
REPLACE_PERL+=	intranet-cgi/reports/manager2.pl
REPLACE_PERL+=	intranet-cgi/reports/issues_by_borrower_category.plugin
REPLACE_PERL+=	intranet-cgi/stats2.pl
REPLACE_PERL+=	intranet-cgi/plugin_launcher.pl
REPLACE_PERL+=	intranet-cgi/overdue.pl
REPLACE_PERL+=	intranet-cgi/members/member-password.pl
REPLACE_PERL+=	intranet-cgi/members/newimember.pl
REPLACE_PERL+=	intranet-cgi/members/moremember.pl
REPLACE_PERL+=	intranet-cgi/members/member.pl
REPLACE_PERL+=	intranet-cgi/members/setdebar.pl
REPLACE_PERL+=	intranet-cgi/members/insertdata.pl
REPLACE_PERL+=	intranet-cgi/members/imemberentry.pl
REPLACE_PERL+=	intranet-cgi/members/memberentry.pl
REPLACE_PERL+=	intranet-cgi/members/insertjdata.pl
REPLACE_PERL+=	intranet-cgi/members/deletemem.pl
REPLACE_PERL+=	intranet-cgi/members/newmember.pl
REPLACE_PERL+=	intranet-cgi/members/insertidata.pl
REPLACE_PERL+=	intranet-cgi/members/member-flags.pl
REPLACE_PERL+=	intranet-cgi/members/jmemberentry.pl
REPLACE_PERL+=	intranet-cgi/members/newjmember.pl
REPLACE_PERL+=	intranet-cgi/members/members-home.pl
REPLACE_PERL+=	intranet-cgi/members/setstatus.pl
REPLACE_PERL+=	intranet-cgi/export/marc-time.pl
REPLACE_PERL+=	intranet-cgi/export/marc.pl
REPLACE_PERL+=	intranet-cgi/export/export.pl
REPLACE_PERL+=	intranet-cgi/updatewebsite.pl
REPLACE_PERL+=	intranet-cgi/delbiblio.pl
REPLACE_PERL+=	intranet-cgi/logout.pl
REPLACE_PERL+=	intranet-cgi/subjectsearch.pl
REPLACE_PERL+=	intranet-cgi/acqui/recieveorder.pl
REPLACE_PERL+=	intranet-cgi/acqui/addorder.pl
REPLACE_PERL+=	intranet-cgi/acqui/histsearch.pl
REPLACE_PERL+=	intranet-cgi/acqui/basket.pl
REPLACE_PERL+=	intranet-cgi/acqui/receive.pl
REPLACE_PERL+=	intranet-cgi/acqui/acquire.pl
REPLACE_PERL+=	intranet-cgi/acqui/suggestion-select.pl
REPLACE_PERL+=	intranet-cgi/acqui/finishreceive.pl
REPLACE_PERL+=	intranet-cgi/acqui/select-late.pl
REPLACE_PERL+=	intranet-cgi/acqui/supplier.pl
REPLACE_PERL+=	intranet-cgi/acqui/lateorders.pl
REPLACE_PERL+=	intranet-cgi/acqui/updatesupplier.pl
REPLACE_PERL+=	intranet-cgi/acqui/acqui-home.pl
REPLACE_PERL+=	intranet-cgi/acqui/newbasket2.pl
REPLACE_PERL+=	intranet-cgi/acqui/order.pl
REPLACE_PERL+=	intranet-cgi/acqui/newbiblio.pl
REPLACE_PERL+=	intranet-cgi/loadmodules.pl
REPLACE_PERL+=	intranet-cgi/thesaurus_popup.pl
REPLACE_PERL+=	intranet-cgi/ISBDdetail.pl
REPLACE_PERL+=	intranet-cgi/placerequest.pl
REPLACE_PERL+=	intranet-cgi/bull-home.pl
REPLACE_PERL+=	intranet-cgi/modbib.pl
REPLACE_PERL+=	intranet-cgi/tidyaccounts.pl
REPLACE_PERL+=	intranet-cgi/mancredit.pl
REPLACE_PERL+=	intranet-cgi/suggestion/acceptorreject.pl
REPLACE_PERL+=	intranet-cgi/modbibitem.pl
REPLACE_PERL+=	intranet-cgi/addwebsite.pl
REPLACE_PERL+=	intranet-cgi/delitem.pl
REPLACE_PERL+=	intranet-cgi/mainpage.pl
REPLACE_PERL+=	intranet-cgi/stats.pl
REPLACE_PERL+=	intranet-cgi/currency.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_leader_authorities.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_leader_computerfile.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_leader_video.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124b.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_225a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/usmarc_field_952v.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124c.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_125.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_115b.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_4XX.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_100.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_127.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_128c.pl
REPLACE_PERL+=	intranet-cgi/value_builder/wipo_barcode.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124f.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_field_006.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_126a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_700-4.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123e.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_210c.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_106.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_117.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_700_701_702.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_field_008_authorities.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_115a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123f.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_105.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_field_005.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_121b.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123j.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_122.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_126b.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_110.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_125b.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_135a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123d.pl
REPLACE_PERL+=	intranet-cgi/value_builder/macles.pl
REPLACE_PERL+=	intranet-cgi/value_builder/int_MACLES.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_field_003.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_128b.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_125a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/barcode.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_128a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_60X.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_126.pl
REPLACE_PERL+=	intranet-cgi/value_builder/labs_theses.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_130.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124g.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_140.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123i.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_120.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124e.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_field_007.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_121a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_leader.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_141.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_field_008.pl
REPLACE_PERL+=	intranet-cgi/value_builder/marc21_leader_book.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_leader.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124d.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123g.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_116.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_123a.pl
REPLACE_PERL+=	intranet-cgi/value_builder/unimarc_field_124.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/additem-nomarc.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/isbnsearch.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/keywordsearch.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/additem.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/saveitem.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/addbiblio-nomarc.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/addbiblio.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/addbooks.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/websitesearch.pl
REPLACE_PERL+=	intranet-cgi/acqui.simple/savebiblio.pl
REPLACE_PERL+=	intranet-cgi/updatebibitem.pl
REPLACE_PERL+=	intranet-cgi/maninvoice.pl
REPLACE_PERL+=	intranet-cgi/z3950/z3950import.pl
REPLACE_PERL+=	intranet-cgi/z3950/search.pl
REPLACE_PERL+=	intranet-cgi/z3950/encodingfix/search.pl
REPLACE_PERL+=	intranet-cgi/z3950/server/zed-koha-server.pl
REPLACE_PERL+=	intranet-cgi/circ/selectbranchprinter.pl
REPLACE_PERL+=	intranet-cgi/circ/branchtransfers.pl
REPLACE_PERL+=	intranet-cgi/circ/circulation.pl
REPLACE_PERL+=	intranet-cgi/circ/reserve.pl
REPLACE_PERL+=	intranet-cgi/circ/returns.pl
REPLACE_PERL+=	intranet-cgi/updateitem.pl
REPLACE_PERL+=	intranet-cgi/bookshelves/addbookbybiblionumber.pl
REPLACE_PERL+=	intranet-cgi/bookshelves/shelves.pl
REPLACE_PERL+=	intranet-cgi/maint/catmaintain.pl
REPLACE_PERL+=	intranet-cgi/maint/shiftbib.pl
REPLACE_PERL+=	intranet-cgi/moredetail.pl
REPLACE_PERL+=	intranet-cgi/reservereport.xls
REPLACE_PERL+=	intranet-cgi/fixBranches.pl
REPLACE_PERL+=	intranet-cgi/detail.pl
REPLACE_PERL+=	intranet-cgi/deletebiblioitem.pl
REPLACE_PERL+=	intranet-cgi/reports-home.pl
REPLACE_PERL+=	intranet-cgi/search.marc/dictionary.pl
REPLACE_PERL+=	intranet-cgi/search.marc/search.pl
REPLACE_PERL+=	intranet-cgi/search.marc/suggest.pl
REPLACE_PERL+=	intranet-cgi/admin-home.pl
REPLACE_PERL+=	intranet-cgi/boraccount.pl
REPLACE_PERL+=	intranet-cgi/bookcount.pl
REPLACE_PERL+=	Install.pm
REPLACE_PERL+=	installer.pl
REPLACE_PERL+=	scripts/updater/thesaurus_create.pl
REPLACE_PERL+=	scripts/updater/updatedatabase
REPLACE_PERL+=	scripts/misc/cleanmarcdb.pl
REPLACE_PERL+=	scripts/misc/installer-lite.pl
REPLACE_PERL+=	scripts/misc/koha2marc.pl
REPLACE_PERL+=	scripts/misc/fines2.pl
REPLACE_PERL+=	scripts/misc/safe-installer
REPLACE_PERL+=	scripts/misc/barcodes.pl
REPLACE_PERL+=	scripts/misc/amazonratings/get_ratings.pl
REPLACE_PERL+=	scripts/misc/merge_authority.pl
REPLACE_PERL+=	scripts/misc/translator/po/update.pl
REPLACE_PERL+=	scripts/misc/translator/po/stats.pl
REPLACE_PERL+=	scripts/misc/translator/text-extract2.pl
REPLACE_PERL+=	scripts/misc/translator/tmpl_process3.pl
REPLACE_PERL+=	scripts/misc/translator/text-extract.pl
REPLACE_PERL+=	scripts/misc/translator/xgettext.pl
REPLACE_PERL+=	scripts/misc/bulkauthimport.pl
REPLACE_PERL+=	scripts/misc/build_marc_word.pl
REPLACE_PERL+=	scripts/misc/compare_iso_and_marc_parameters.pl
REPLACE_PERL+=	scripts/misc/testKoha.pl
REPLACE_PERL+=	scripts/misc/tidyaccounts.pl
REPLACE_PERL+=	scripts/misc/overduenotices-csv.pl
REPLACE_PERL+=	scripts/misc/notifys/printnote.pl
REPLACE_PERL+=	scripts/misc/notifys/fines.pl
REPLACE_PERL+=	scripts/misc/notifys/contact_history.pl
REPLACE_PERL+=	scripts/misc/check_suggestions.pl
REPLACE_PERL+=	scripts/misc/missing090field.pl
REPLACE_PERL+=	scripts/misc/buildrelease
REPLACE_PERL+=	scripts/misc/dumpmarc.pl
REPLACE_PERL+=	scripts/misc/migration_tools/check_marc_definition.pl
REPLACE_PERL+=	scripts/misc/migration_tools/bulkmarcimport.pl
REPLACE_PERL+=	scripts/misc/migration_tools/buildLANG.pl
REPLACE_PERL+=	scripts/misc/migration_tools/build_authorities.pl
REPLACE_PERL+=	scripts/misc/migration_tools/buildEDITORS.pl
REPLACE_PERL+=	scripts/misc/migration_tools/buildCOUNTRY.pl
REPLACE_PERL+=	scripts/misc/migration_tools/build_marc21_authorities.pl
REPLACE_PERL+=	scripts/misc/migration_tools/build6xx.pl
REPLACE_PERL+=	scripts/misc/rebuildnonmarc.pl
REPLACE_PERL+=	scripts/misc/uninstall.pl
REPLACE_PERL+=	scripts/misc/overduenoticesSelect.pl
REPLACE_PERL+=	scripts/misc/delete_authority.pl
REPLACE_PERL+=	scripts/misc/overduenotices.pl
REPLACE_PERL+=	scripts/misc/rebuildthesaurus.pl
REPLACE_PERL+=	scripts/z3950daemon/processz3950queue

do-build:
	@${TRUE}

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/koha
	${CP} -r ${WRKDIR}/${DISTNAME}/* ${DESTDIR}${PREFIX}/share/koha

.include "../../mk/bsd.pkg.mk"
